//
//  STOrderCommentView.h
//  YiYueHairdresser
//
//  Created by 路人甲 on 2018/11/7.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "STCommentCell.h"
#import "YLHomeOrderListModel.h"

@class STOrderCommentView;
@protocol STOrderCommentViewDelegate<NSObject>

-(void)orderCommentsView:(STOrderCommentView *)view indexpath:(NSIndexPath *)indexPath replayCommentText:(NSString *)replayStr;//回复评论
@end

@interface STOrderCommentView : UIView<UITableViewDelegate,UITableViewDataSource,STCommentCellDelegate>{
    UITableView *orderCommentView;
}

@property(strong ,nonatomic) YLHomeOrderListModel * detailModel;
@property(nonatomic,strong)STCommentInfoModel * orderCommentData;
@property(nonatomic,strong)STDoorCommonModel * totalScore;//总评分
@property(nonatomic,weak)id<STOrderCommentViewDelegate> delegate;
-(void)setOrderCommentsListView;

@end
